import { IFormItem } from '@/base-ui/form/index'
import { ITableItem } from '@/base-ui/table/index'
const formItems: IFormItem[] = [
  {
    field: 'keyword',
    type: 'input',
    label: '关键字',
    placeholder: '角色/显示名称/描述',
  },
]
const tableItems: ITableItem[] = [
  {
    prop: 'name',
    label: '角色名',
    minWidth: 180,
  },
  {
    prop: 'normalizedName',
    label: '显示名',
    minWidth: 180,
  },
  {
    prop: 'loading',
    label: '是否内置',
    minWidth: 180,
    slotName: 'status',
  },
  {
    prop: 'description',
    label: '描述',
    minWidth: 180,
  },
  {
    prop: 'operation',
    label: '操作',
    minWidth: 180,
    slotName: 'operation',
  },
]
export { formItems, tableItems }
